Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <title>Page Title</title> <script> function myFunction() { document.getElementById("demo").innerHTML = "Hello JavaScript!"; } </script> <body> <h1>My Web Page</h1> <p id="demo">A Paragraph</p> <button type="button" onclick="myFunction()">Try it</button> </body> <!-- Mirrored from www.w3schools.com/html/tryit.asp?filename=tryhtml_head_script by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:20:33 GMT --> </html>
Result:
Try it Yourself - © w3schools.com